Mint\MRM\DataBase\Models\ContactModel C

Total Complexity 108
Dependencies 12
Dependents 26
Total lines 947
Lines of code 534
Logical lines of code 298
Comment lines 328
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
get_filtered_contacts()
C
35 25 72
remove_form_entries_for_deleted_contact()
A
51 8 26
update()
S
45 5 43
insert()
S
48 5 34
update_meta_fields()
S
49 5 33
get_all()
S
47 5 32
contact_information_to_shop_order()
S
57 5 17
get()
S
58 5 14
destroy_all()
S
53 4 22
is_contact_ids_exists()
S
58 3 14
is_contact_meta_exist()
S
59 3 13
is_contact_meta_key_exist()
S
59 3 13
get_total_count()
S
52 2 22
destroy()
S
57 2 17
get_user_id_by_wp_user_id()
S
58 2 15
is_contact_source_by_form()
S
66 3 9
get_contact_total()
S
59 2 15
get_form_id_by_source()
S
66 3 8
get_single_email()
S
63 3 9
mrm_contact_custom_attributes()
S
53 1 28
get_meta()
S
62 2 10
is_contact_exist_by_id()
S
63 2 10
is_contact_exist()
S
69 1 6
get_contact_source_by_id()
S
71 1 5
update_subscription_status()
S
65 1 9
get_contact_by_email()
S
71 1 5
get_id_by_email()
S
69 1 6
get_email_by_id()
S
71 1 5
get_by_hash()
S
71 1 5
get_contacts_status_count()
S
71 1 5
get_contacts_count()
S
71 1 5
update_contact_status()
S
67 1 7